FTorch
User Guide
Source Files
Modules
Procedures
Derived Types
operator (-)
Interface
MIT
3 statements
Source File
ftorch.F90
ftorch
operator (-)
Contents
Module Procedures
torch_tensor_subtract
public interface operator (-)
Module Procedures
public function
torch_tensor_subtract
(tensor1, tensor2) result(output)
Overloads subtraction operator for two tensors.
Arguments
Type
Intent
Optional
Attributes
Name
type(
torch_tensor
),
intent(in)
::
tensor1
type(
torch_tensor
),
intent(in)
::
tensor2
Return Value
type(
torch_tensor
)